package com.mfangsoft.zhuangjialong.app.weixin.model;

import java.io.Serializable;

/**
 *   用户小程序信息表
 * table t_sys_user_xiaochengxu_info
 *
 * @MLTH_generated do_not_delete_during_merge
 */
public class BaseUserXiaoChengXuInfoEntity implements Serializable {
    /**
     *   用户id
     * column user_id
     *
     * @MLTH_generated
     */
    private Long user_id;

    /**
     *   小程序权限状态（0：未开通 1：已开通）
     * column permission_state
     *
     * @MLTH_generated
     */
    private Integer permission_state;

    /**
     *   （0：未生成小程序 1：已生成小程序）
     * column xiaochengxu_state
     *
     * @MLTH_generated
     */
    private Integer xiaochengxu_state;

    /**
     *   小程序APPID
     * column app_id
     *
     * @MLTH_generated
     */
    private String app_id;

    /**
     *   小程序SECRET
     * column app_secret
     *
     * @MLTH_generated
     */
    private String app_secret;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_sys_user_xiaochengxu_info
     *
     * @MLTH_generated
     */
    private static final long serialVersionUID = 1L;

    /**
     *   用户id
     * @return the value of BIGINT
     *
     * @MLTH_generated
     */
    public Long getUser_id() {
        return user_id;
    }

    /**
     *   用户id
     * @param user_id the value for 
     *
     * @MLTH_generated
     */
    public void setUser_id(Long user_id) {
        this.user_id = user_id;
    }

    /**
     *   小程序权限状态（0：未开通 1：已开通）
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getPermission_state() {
        return permission_state;
    }

    /**
     *   小程序权限状态（0：未开通 1：已开通）
     * @param permission_state the value for 
     *
     * @MLTH_generated
     */
    public void setPermission_state(Integer permission_state) {
        this.permission_state = permission_state;
    }

    /**
     *   （0：未生成小程序 1：已生成小程序）
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getXiaochengxu_state() {
        return xiaochengxu_state;
    }

    /**
     *   （0：未生成小程序 1：已生成小程序）
     * @param xiaochengxu_state the value for 
     *
     * @MLTH_generated
     */
    public void setXiaochengxu_state(Integer xiaochengxu_state) {
        this.xiaochengxu_state = xiaochengxu_state;
    }

    /**
     *   小程序APPID
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getApp_id() {
        return app_id;
    }

    /**
     *   小程序APPID
     * @param app_id the value for 
     *
     * @MLTH_generated
     */
    public void setApp_id(String app_id) {
        this.app_id = app_id == null ? null : app_id.trim();
    }

    /**
     *   小程序SECRET
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getApp_secret() {
        return app_secret;
    }

    /**
     *   小程序SECRET
     * @param app_secret the value for 
     *
     * @MLTH_generated
     */
    public void setApp_secret(String app_secret) {
        this.app_secret = app_secret == null ? null : app_secret.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", user_id=").append(user_id);
        sb.append(", permission_state=").append(permission_state);
        sb.append(", xiaochengxu_state=").append(xiaochengxu_state);
        sb.append(", app_id=").append(app_id);
        sb.append(", app_secret=").append(app_secret);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}